// 变量定义
@root-min-height: 100vh;
@transition-time: 300ms;
@shadow-color-primary: #646cff;
@shadow-color-react: #61dafb;
@gray-text: #888;

#root {
  min-height: @root-min-height;
  width: 100%;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter @transition-time;

  &:hover {
    filter: drop-shadow(0 0 2em @shadow-color-primary);
  }

  &.react:hover {
    filter: drop-shadow(0 0 2em @shadow-color-react);
  }
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: @gray-text;
}

